﻿using System.Windows.Media;
using System.Windows.Media.Media3D;
using X.Infrastructure.WPF.Caliburn.AdviceAttributes;
using X.Infrastructure.WPF.Caliburn.Base;

namespace X.WPF.Controls.Sample.ViewModels.ThreedContext
{
    /// <summary>
    /// 3D标记画布组件视图模型
    /// </summary>
    public class Marker3DCanvasViewModel : ScreenBase
    {
        #region # 字段及构造器
        /// <summary>
        /// 依赖注入构造器
        /// </summary>
        public Marker3DCanvasViewModel()
        {
        }
        #endregion

        #region  # 属性

        #region 3D数模文件路径 —— string ThreeDFilePath
        /// <summary>
        /// 3D数模文件路径
        /// </summary>
        [DependencyProperty]
        public string ThreeDFilePath { get; set; }
        #endregion

        #region 旋转轴 —— Vector3D RotateAxis
        /// <summary>
        /// 旋转轴
        /// </summary>
        [DependencyProperty]
        public Vector3D RotateAxis { get; set; }
        #endregion

        #region 旋转角度 —— double RotateAngle
        /// <summary>
        /// 旋转角度
        /// </summary>
        [DependencyProperty]
        public double RotateAngle { get; set; }
        #endregion

        #region 数模颜色 —— Color Color
        /// <summary>
        /// 数模颜色
        /// </summary>
        [DependencyProperty]
        public Color Color { get; set; }
        #endregion

        #endregion

        #region # 方法

        //Initializations

        #region 加载 —— void Load()
        /// <summary>
        /// 加载
        /// </summary>
        public void Load()
        {
        }
        #endregion

        #endregion
    }
}
